<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript"
	src="<%=request.getContextPath()%>/JS/regist.js"></script>
<title>用户注册</title>
</head>
<body>
	<form action="<%=request.getContextPath()%>/registServlet?state=1"
		method="post">
		<%
			if (request.getAttribute("message") != null) {
		%>
		<p><%=request.getAttribute("message")%></p>
		<%
			}
		%>
		<p>
			用户名：<input type="text" name="name" id="name" onblur="check()" /><a
				id="result"></a>
		</p>
		<p>
			密 码：<input type="password" name="password" id="password" />
		</p>
		<p>
			<input type="submit" value="注册" />
		</p>
	</form>

</body>
</html>